package se.mbaeumer.fxtodo.core.util;

/**
 * A utilty class for ics import and export
 * @author user1
 *
 */
public class ICSIOUtil {
	/**
	 * Converts a date of types java.util.Date to net.fortuna.ical4j.model.Date 
	 * @param date the date of type java.util.Date
	 * @return
	 */
	public static net.fortuna.ical4j.model.Date getICSDate(java.util.Date date){
		net.fortuna.ical4j.model.DateTime d = new net.fortuna.ical4j.model.DateTime(date);
		return d;
	}
}
